package com.gaofans.vertx.boot.web.handler;

import io.vertx.core.Handler;
import io.vertx.ext.web.RoutingContext;


/**
 * @author GaoFans
 */
public class HttpHandlerDefinition {

    private String name;

    private int order;

    private String[] path;

    private Handler<RoutingContext> handler;

    private HttpHandlerPosition position;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getOrder() {
        return order;
    }

    public void setOrder(int order) {
        this.order = order;
    }

    public String[] getPath() {
        return path;
    }

    public void setPath(String[] path) {
        this.path = path;
    }

    public Handler<RoutingContext> getHandler() {
        return handler;
    }

    public void setHandler(Handler<RoutingContext> handler) {
        this.handler = handler;
    }

    public HttpHandlerPosition getPosition() {
        return position;
    }

    public void setPosition(HttpHandlerPosition position) {
        this.position = position;
    }

}
